home *** CD-ROM | disk | FTP | other *** search
/ Complete Linux / Complete Linux.iso / docs / apps / database / postgres / postgre4.z / postgre4 / src / lib / H / commands / version.h < prev   
Encoding:
C/C++ Source or Header  |  1992-08-27  |  1.2 KB  |  80 lines

  1. /*
  2.  *  version.h
  3.  * 
  4.  *  Header file for versions.
  5.  *
  6.  *  $Header: /private/postgres/src/lib/H/commands/RCS/version.h,v 1.4 1991/11/10 20:47:17 clarsen Exp $
  7.  */
  8.  
  9. #ifndef VersionIncluded          /* Include this file only once */
  10. #define VersionIncluded  1
  11.  
  12. #include "tmp/postgres.h"
  13.  
  14. /*
  15.  *  Creates a version.
  16.  */
  17. extern 
  18. void
  19. CreateVersion ARGS(( 
  20.             Name  name,
  21.             List bname));
  22.  
  23. /*
  24.  *  Creates the deltas.
  25.  */
  26. extern
  27. void
  28. VersionCreate ARGS((
  29.             Name  vname,
  30.             Name  bname));
  31.  
  32.  
  33. /*
  34.  *  Returns a list of attributes for the given relation.
  35.  */
  36. extern 
  37. LispValue
  38. GetAttrList ARGS(( Name bname));
  39.  
  40. /*
  41.  * Rule governing the append semantics for versions.
  42.  */
  43. extern
  44. void
  45. VersionAppend ARGS((
  46.             Name  vname,
  47.             Name  bname));
  48.  
  49. /*
  50.  * Rule governing the retrieval semantics for versions.
  51.  */
  52. extern
  53. void
  54. VersionRetrieve ARGS((
  55.               Name  vname,
  56.               Name  bname,
  57.               char *snapshot));
  58.  
  59. /*
  60.  * Rule governing the delete semantics for versions.
  61.  */
  62. extern
  63. void
  64. VersionDelete ARGS((
  65.             Name  vname,
  66.             Name  bname,
  67.             char *snapshot));
  68.  
  69. /*
  70.  * Rule governing the update semantics for versions.
  71.  */
  72. extern
  73. void
  74. VersionReplace ARGS((
  75.              Name  vname,
  76.              Name  bname,
  77.              char *snapshot));
  78.     
  79. #endif
  80.